﻿using AutoMapper;
using B.T.BasicData.Domain.RBAC;
using B.T.BasicData.Write_Api.DTO;

namespace B.T.BasicData.Write_Api
{
    public class MapperingProfile : Profile
    {
        public MapperingProfile()
        {
           CreateMap<AddPermissionsDto,Permissions>().ReverseMap();

           CreateMap<UpdatePermissionsDto, Permissions>().ReverseMap();

           CreateMap<AddRoleDto, RolesInfo>().ReverseMap();

           CreateMap<UpdateRoleDto, RolesInfo>().ReverseMap();

          
        }
    }
}
